import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/examine/goods/buffet/detail/list',
    method: 'get',
    params: query
  })
}

export function update(data) {
  return request({
    url: '/examine/goods/buffet/detail',
    method: 'put',
    data: data
  })
}

//一键质检
export function buffetBatchEdit(data) {
  return request({
    url: '/examine/goods/buffet/detail/bactchEdit',
    method: 'post',
    data: data
  })
}
